Optimal. Leaf size=112 \[ \frac{(d+e x)^{m+1} (a B e (m+1)-b (A e m+B d)) \, _2F_1\left (1,m+1;m+2;\frac{b (d+e x)}{b d-a e}\right )}{b (m+1) (b d-a e)^2}-\frac{(A b-a B) (d+e x)^{m+1}}{b (a+b x) (b d-a e)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0568046, antiderivative size = 112, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {78, 68} \[ \frac{(d+e x)^{m+1} (a B e (m+1)-b (A e m+B d)) \, _2F_1\left (1,m+1;m+2;\frac{b (d+e x)}{b d-a e}\right )}{b (m+1) (b d-a e)^2}-\frac{(A b-a B) (d+e x)^{m+1}}{b (a+b x) (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 68
Rubi steps
\begin{align*} \int \frac{(A+B x) (d+e x)^m}{(a+b x)^2} \, dx &=-\frac{(A b-a B) (d+e x)^{1+m}}{b (b d-a e) (a+b x)}-\frac{(a B e (1+m)-b (B d+A e m)) \int \frac{(d+e x)^m}{a+b x} \, dx}{b (b d-a e)}\\ &=-\frac{(A b-a B) (d+e x)^{1+m}}{b (b d-a e) (a+b x)}+\frac{(a B e (1+m)-b (B d+A e m)) (d+e x)^{1+m} \, _2F_1\left (1,1+m;2+m;\frac{b (d+e x)}{b d-a e}\right )}{b (b d-a e)^2 (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0484106, size = 98, normalized size = 0.88 \[ \frac{(d+e x)^{m+1} \left (\frac{(a B e (m+1)-b (A e m+B d)) \, _2F_1\left (1,m+1;m+2;\frac{b (d+e x)}{b d-a e}\right )}{m+1}+\frac{(a B-A b) (b d-a e)}{a+b x}\right )}{b (b d-a e)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.05, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( Bx+A \right ) \left ( ex+d \right ) ^{m}}{ \left ( bx+a \right ) ^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x + A\right )}{\left (e x + d\right )}^{m}}{{\left (b x + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (B x + A\right )}{\left (e x + d\right )}^{m}}{b^{2} x^{2} + 2 \, a b x + a^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (A + B x\right ) \left (d + e x\right )^{m}}{\left (a + b x\right )^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x + A\right )}{\left (e x + d\right )}^{m}}{{\left (b x + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]